package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

import java.util.Date;

@Data
@Notes("方案文档表")
@TablePlus(name = "dict_plan_doc")
public class DictPlanDoc extends BaseModel {

    @Notes("方案文档名称")
    @ColumnPlus(default_val = "''", length = "50")
    private String doc_name;

    @Notes("方案文档路径")
    @ColumnPlus(default_val = "''", length = "200")
    private String doc_path;

    @Notes("文档编辑类型，默认1。1在线文档，2附件文档，3图片...")
    @ColumnPlus(default_val = "1", length = "1")
    private int edit_type;

    @Notes("文档类型，文件后缀")
    @ColumnPlus(default_val = "''", length = "10")
    private String doc_type;

    @Notes("备注")
    @ColumnPlus(default_val = "''", length = "200")
    private String remark;

    @Notes("需求提出时间")
    @ColumnPlus
    private Date demand_begin_time;

    @Notes("要求完成时间")
    @ColumnPlus
    private Date demand_complete_time;

    @Notes("方案开始编写时间")
    @ColumnPlus
    private Date doc_begin_time;

    @Notes("方案完成提交时间")
    @ColumnPlus
    private Date doc_complete_time;

}
